package com.lry.basic.algorithm.search;

import lombok.Data;

public class TestT<T> {

    public static void main(String[] args) {

        TestT t = new TestT();

        Page<UserResp> page = t.selectPage(new Page(),new Wrapper<User>());

    }


    public <E extends Page<T>> E selectPage(E page, Wrapper<T> wrapper){
        return null;
    }

    static class Page<T>{

    }

    static class Wrapper<T>{

    }

    @Data
    static class User{
        private Integer id;
        private String username;
        private String pwd;
    }

    @Data
    static class UserResp{
        private String username;
        private String pwd;
    }
}
